import { Injectable } from '@nestjs/common';

@Injectable()
export class UsersService {
  // 模拟用户数组
  private users:any[] = [];

  addUser(user: any) {
    this.users.push(user);
    return user;
  }
}
